package net.hvacapp.cmvrfforandroid.ui.project.model;

/**
 * Created by zhangnorman on 15/7/21.
 */
public class ProjectInfoData {
    /*项目阶段*/
    public static final int PROJECT_PHASE_INPROGRESS = 1;
    public static final int PROJECT_PHASE_DEAL = 2;
    public static final int PROJECT_PHASE_NOTDEAL = 4;
    public static final int PROJECT_PHASE_REVIEW = 8;
    public static final int PROJECT_PHASE_ALL = 15;
    public static final int PROJECT_SUB = 100;



    //室外机(swj),轻型商用空调(qxsykt),空气能热水机(kqnrsj),全热 交换器(qrjhq)
    public static final String MACHINE_TAG_FOR_SWJ = "swj";
    public static final String MACHINE_TAG_FOR_QXSYKT = "qxsykt";
    public static final String MACHINE_TAG_FOR_KQNRSJ = "kqnrsj";
    public static final String MACHINE_TAG_FOR_QRJHQ = "qrjhq";
    public static final String MACHINE_TAG_FOR_SNJ = "snj";

    private String guidId;
    private String userId;
    private String cityId;
    private String house;
    private String ownerName;
    private String ownerContact;
    private String ownerWeChar;
    private String ownerQQ;
    private String ownerEmail;
    private double area;
    private double equipPrice;
    private double fuCaiPrice;
    private double renGongPrice;
    private double taxRate;
    private double totalPrice;
    private double transPrice;
    private String time;

    /**
     * 电辅热类型: 1 带电辅热 2 不带电辅热 3 全部设备
     */
    private int dfrType;
    /**
     * 电源类型: 1 220V 电压 2 380V 电压 3 全部设备
     */
    private int powerType;
    /**
     *  项目阶段 InProcess = 1, Deal = 2, NotDeal = 4
     */
    private int phase;
    private String comment;
    private String userContactName;


    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    private String cityName;


    public String getGuidId() {
        return guidId;
    }

    public void setGuidId(String guidId) {
        this.guidId = guidId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerContact() {
        return ownerContact;
    }

    public void setOwnerContact(String ownerContact) {
        this.ownerContact = ownerContact;
    }

    public String getOwnerWeChar() {
        return ownerWeChar;
    }

    public void setOwnerWeChar(String ownerWeChar) {
        this.ownerWeChar = ownerWeChar;
    }

    public String getOwnerQQ() {
        return ownerQQ;
    }

    public void setOwnerQQ(String ownerQQ) {
        this.ownerQQ = ownerQQ;
    }

    public String getOwnerEmail() {
        return ownerEmail;
    }

    public void setOwnerEmail(String ownerEmail) {
        this.ownerEmail = ownerEmail;
    }

    public double getArea() {
        return area;
    }

    public void setArea(double area) {
        this.area = area;
    }

    public double getEquipPrice() {
        return equipPrice;
    }

    public void setEquipPrice(double equipPrice) {
        this.equipPrice = equipPrice;
    }

    public double getFuCaiPrice() {
        return fuCaiPrice;
    }

    public void setFuCaiPrice(double fuCaiPrice) {
        this.fuCaiPrice = fuCaiPrice;
    }

    public double getRenGongPrice() {
        return renGongPrice;
    }

    public void setRenGongPrice(double renGongPrice) {
        this.renGongPrice = renGongPrice;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public double getTransPrice() {
        return transPrice;
    }

    public void setTransPrice(double transPrice) {
        this.transPrice = transPrice;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getPhase() {
        return phase;
    }

    public String getPhaseString() {
        if (phase == 4) {
            return "未成交";

        }
        else if (phase == 2) {
            return "已成交";
        }
        else {
            return "进行中";
        }
    }

    public void setPhase(int phase) {
        this.phase = phase;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    public String getUserContactName() {
        return userContactName;
    }

    public void setUserContactName(String userContactName) {
        this.userContactName = userContactName;
    }

    public int getPowerType() {
        return powerType;
    }

    public void setPowerType(int powerType) {
        this.powerType = powerType;
    }

    public int getDfrType() {
        return dfrType;
    }

    public void setDfrType(int dfrType) {
        this.dfrType = dfrType;
    }

}
